Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moved tests to be inside package. #18

Closed
wants to merge 3 commits into from

Conversation

PythonCHB
Copy link
Contributor

This is so they can be run from an install, and won't be installed as a
separate package called "tests"

Also added a standard .gitignore file for Python.

NOTE: there are still test failures due to missing data files, but this is a start.

Another option is to keep the tests separate, but remove the init.py, so that setuptools.find_packages won't find it and install it as a a top-level package (which is what is happening now).

This is so they can be run from an install, and won't be installed as a
separate pacakge called "tests"

Also added a standard .gitignore file for Python.
@PythonCHB PythonCHB mentioned this pull request Jan 12, 2019
@PythonCHB
Copy link
Contributor Author

turns out that method doesn't include the test data files -- that could be added to the setup.py, but maybe easier to keep tests outside of package. So closing this, stay tuned for another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants